home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Games / SpriteFight 2002 v2.0a1 / SpriteHelp.h < prev    next >
Encoding:
Text File  |  1996-01-11  |  912 b   |  42 lines  |  [TEXT/SPM ]

  1. //• SpriteHelp.h by Stefan C. Sinclair Copyright © 1996 All Rights Reserved
  2.  
  3. #ifndef _SPRITEHELP_
  4. #define _SPRITEHELP_
  5.  
  6. #ifndef _LIMITS_
  7. #include <limits.h>
  8. #endif
  9.  
  10. #ifndef _PICTUTIL_
  11. #include <PictUtil.h>
  12. #endif
  13.  
  14. #ifndef _SPRITEERROR_
  15. #include "SpriteError.h"
  16. #endif
  17.  
  18. #define kMoveToFront        (WindowPtr)-1L
  19. #define kScrollBarWidth        16
  20. #define    kNilActionProc        nil
  21. #define kSleep                LONG_MAX
  22.  
  23. #define    kVisible            true
  24. #define    kStartValue            1
  25. #define    kMinValue            1
  26. #define    kNilRefCon            0L
  27. #define    kEmptyTitle            "\p"
  28.  
  29. #define    kEmptyString        "\p"
  30. #define kNilFilterProc        nil
  31.  
  32. /***************/
  33. /***  Functions  ****/
  34. /***************/
  35. void    Helper(short whichOne);
  36. void    SetUpScrollBar( WindowPtr window );
  37. pascal void ScrollProc( ControlHandle theControl, short partCode );
  38. void    HelpEventLoop( void );
  39. void    HelpDoEvent( EventRecord *eventPtr );
  40. void    HelpHandleMouseDown( EventRecord *eventPtr );
  41.  
  42. #endif // end SpriteHelp